//
// Fenetre.hpp for  in /home/peelou/SVN/rush-mars-2016-dewulf_f/DisplayQT
// 
// Made by gery baudry
// Login   <baudry_g@epitech.net>
// 
// Started on  Sun Mar 10 17:53:54 2013 gery baudry
// Last update Fri Apr 19 10:11:21 2013 gery baudry
//

#ifndef		__FENETRE_H__
#define		__FENETRE_H__

#include	<QtGui>
#include	<iostream>
#include	<fstream>

class	MaFenetre : public QMainWindow
{
  Q_OBJECT

public:
  MaFenetre();
  void			newTab(const std::string);

public slots:
  void			envoie_commande();

private:
  void			creerTab();
  void			creerLayout();

private:
  QWidget		*win;
  QTabWidget		*tab;
  QPlainTextEdit		*command;
  QHBoxLayout		*lay;
  QPushButton		*envoyer;
  std::ofstream		ofile;
};

#endif
